From 6dd3edac2d7ab0fea1c2207115bf23b8b29a277f Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 24 Mar 2006 16:07:50 +0000 Subject: [PATCH] special case: don't return an empty table, fixes test case --- includes/Linker.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index aa51a1f5e9..23c8d014a9 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1013,7 +1013,9 @@ class Linker { '
' . '

' . $title . "

\n" . $toc - . "\n
\n" + # no trailing newline, script should not be wrapped in a + # paragraph + . "\n" . '